﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Application.Dtos;

namespace TMS_Master.Dto
{
    /// <summary>
    /// 地址
    /// </summary>
    public class AddressDto : AuditedEntityDto<Guid>
    {
        /// <summary>
        /// 地方
        /// </summary>
        [StringLength(20)]
        [Required]
        public string Space { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary>
        [Required]
        public int PartentID { get; set; }
    }
}
